package cn.xtcode.infrastructure.dao;

import cn.xtcode.infrastructure.dao.po.GroupBuyActivity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @Author xt-code
* @Description:
* @Create 2025/5/6 09:58 
*/
@Mapper
public interface IGroupBuyActivityDao {

    List<GroupBuyActivity> queryGroupBuyActivityList();

    //查询有效活动配置

    GroupBuyActivity queryValidGroupBuyActivityByActivityId(GroupBuyActivity groupBuyActivityReq);

    /**
     * 通过activityId查询活动信息
     */
    GroupBuyActivity queryGroupBuyActivityByActivityId(Long activityId);
}